package com.gray.blog.common.entity;

import com.gray.blog.common.enums.DelFlagTypeEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class BaseEntity implements Serializable{

    private String id;

    private String createBy;

    private Date createDate;

    private String updateBy;

    private Date updateDate;

    private String remarks;

    private int delFlag;

    private Integer NOT_DELETE = DelFlagTypeEnum.NOT_DELETE.getType();

    private Integer DELETE = DelFlagTypeEnum.DELETE.getType();
}
